<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>语音通话</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=0.7, user-scalable=no, shrink-to-fit=no">

    <link th:href="@{/static/js/index.css}" rel="stylesheet">

</head>
<body>
<div>
   <div>
       <input th:type="text" name="loginUserId" />
       <input th:type="button" th:value="登录" onclick="login()">
   </div>
    <div>
        <input th:type="text" name="callUserId" />
        <input th:type="button" th:value="呼叫" onclick="call()">
    </div>
    <div>
        <input th:type="button" th:value="取消通话" onclick="cancelCall()">
        <input th:type="button" th:value="麦克风" onclick="setMicMute()">
        <input th:type="button" th:value="登出" onclick="logout()">
    </div>

    <div id="video">
        <div id="videoLocal">
            <div id="localImg">
                <img class="camera-local-v" style="height: 47px" src="../static/img/big-camera-on.png" alt="摄像头">
                <img class="mic-local-v" style="height: 47px" src="../static/img/big-mic-on.png" alt="麦克风">
            </div>
        </div>

        <div id="videoRemote">

        </div>
    </div>


</div>
<script th:src="@{/static/js/jquery-3.2.1.min.js}"></script>
<script th:src="@{/static/js/trtc.js}"></script>
<script th:src="@{/static/js/tim-js.js}"></script>
<script th:src="@{/static/js/tsignaling-js.js}"></script>
<script th:src="@{/static/js/trtc-calling-js.js}"></script>
<!--<script th:src="@{/static/js/GenerateTestUserSig.js}"></script>-->
<script th:src="@{/static/js/lib-generate-test-usersig.min.js}"></script>
<script th:src="@{/static/js2/debug/GenerateTestUserSig.js}"></script>
<script th:src="@{/static/js/index.js}"></script>
    <script>

    </script>
</body>

</html>